﻿@using AwesomeSlider.Models;
@using Orchard.ContentManagement;
@using AwesomeSlider.Extensions;
@{
    Style.Require("Slider");
    SliderItemPart sliderItem = Model.Part;   
}

<a class="thumb" href="@Url.Thumb(sliderItem.Id, 640,480)" 
   style="width:@(640)px; height:@(480)px">
    @Html.Image(Url.Thumb(sliderItem.Id, 640, 480), sliderItem.Name, null)
</a>
<div>    
        <label>@sliderItem.Description</label>
</div>

